package com.shire.shire_interface.constants;

public class Location {
    private String prov;
    private String city;
    private float latitude;		// 纬度
    private float longitude;	// 经度

    public Location(String prov, String city, float latitude, float longitude){
        this.prov = prov;
        this.city = city;
        this.latitude = latitude;
        this.longitude = longitude;
    }

    public String getProv() {
        return prov;
    }

    public void setProv(String prov) {
        this.prov = prov;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public float getLatitude() {
        return latitude;
    }

    public void setLatitude(float latitude) {
        this.latitude = latitude;
    }

    public float getLongitude() {
        return longitude;
    }

    public void setLongitude(float longitude) {
        this.longitude = longitude;
    }

    @Override
    public String toString() {
        return "Location [prov=" + prov + ", city=" + city + ", latitude="
                + latitude + ", longitude=" + longitude + "]";
    }
}
